home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / csap421.zip / CSAP.MAK < prev    next >
Text File  |  1994-02-24  |  1KB  |  70 lines

  1. .AUTODEPEND
  2. .SWAP
  3.  
  4. COMP_DIR= E:\BC
  5.  
  6. !if !$d(MDL)
  7. MDL=c
  8. !endif
  9.  
  10. !if $d(DEBUG)
  11. CSWIT= -O2 -w -m$(MDL) -v -lv
  12. LSWIT= /v/c
  13. !else
  14. CSWIT= -O2 -w -m$(MDL)
  15. LSWIT= /x/c
  16. !endif
  17.  
  18. DEFS=
  19.  
  20. #        *Translator Definitions*
  21. CC = $(COMP_DIR)\bin\bcc +csap.CFG
  22. TASM = $(COMP_DIR)\bin\TASM
  23. TLINK = $(COMP_DIR)\bin\tlink
  24.  
  25. #        *Implicit Rules*
  26. .c.obj:
  27.   $(CC) $(CSWIT) -c $(DEFS) {$< }
  28.  
  29. #        *List Macros*
  30.  
  31. EXE_dependencies =  \
  32. csap.obj \
  33. sortdir.obj \
  34. isdev.obj \
  35. getdpb.obj
  36.  
  37.  
  38. #        *Explicit Rules*
  39. csap.exe:    csap.cfg $(EXE_dependencies)
  40.     $(TLINK) $(LSWIT) /L$(COMP_DIR)\LIB @&&|
  41. $(COMP_DIR)\lib\c0$(MDL).obj+
  42. csap.obj+
  43. sortdir.obj+
  44. isdev.obj+
  45. getdpb.obj
  46. csap, csap
  47. $(COMP_DIR)\lib\emu.lib+
  48. $(COMP_DIR)\lib\math$(MDL).lib+
  49. $(COMP_DIR)\lib\c$(MDL).lib
  50. |
  51.  
  52.  
  53. #        *Individual File Dependencies*
  54.  
  55. csap.obj:    csap.c
  56.  
  57. sortdir.obj:    sortdir.c
  58.  
  59. isdev.obj:    isdev.c
  60.  
  61. getdpb.obj:    getdpb.c
  62.  
  63.  
  64. #        *Compiler Configuration File*
  65. csap.cfg:    csap.mak
  66.     copy &&|
  67. -I$(COMP_DIR)\INCLUDE
  68. -L$(COMP_CIR)\LIB
  69. | csap.cfg
  70.